package com.order.domain.models;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author 刘志伟
 * @create 2022/9/26 13:44
 */
@Data
@Builder
@TableName("tb_order")
public class OrderEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private String order_no;
    private String cargoes_id;
    private BigDecimal price;
    private DateTime create_datetime;
}
